package com.maybach.workflow.core.manager;

import com.maybach.util.query.support.PageResult;
import com.maybach.workflow.common.model.FlowActLogDO;
import com.maybach.workflow.common.query.FlowActLogQuery;

import java.util.List;


/**
 * Manager for FlowActLog.
 */
public interface FlowActLogManager {
    /**
     * query count by query condition.
     */
    int countByQuery(FlowActLogQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(FlowActLogQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(Long id);

    /**
     * insert selective.
     */
    long insertSelective(FlowActLogDO record);

    /**
     * select by query condition.
     */
    List<FlowActLogDO> selectByQuery(FlowActLogQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<FlowActLogDO> selectByQueryWithPage(FlowActLogQuery query);

    /**
     * select by primary key.
     */
    FlowActLogDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( FlowActLogDO record,  FlowActLogQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(FlowActLogDO record, FlowActLogQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(FlowActLogDO record);
}